import { View } from '@tarojs/components';
import ActivityItem from '@/components/ActivityItem';

import './style.scss';

const ActivityList = ({ activityList }) => {
  return (
    <View className="activity-list">
      {activityList.map((item: any) => {
        return <ActivityItem key={item.id} data={item} />;
      })}
    </View>
  );
};
export default ActivityList;
